package top.buyibuyi.course.dao.admin;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import top.buyibuyi.course.pojo.Admin;

@Mapper
public interface SaveAdminDao {

    @Insert("insert into admin (name,username,password,sex,jobn,power,phone) " +
            "values (#{name},#{username},#{password},#{sex},#{jobn},#{power},#{phone})")
    Boolean saveAdmin(Admin admin);
}
